package com.cssl.gulimall.order.feign;

import com.cssl.common.vo.order.OrderItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * 购物车系统
 */
@FeignClient("gulimall-cart")
public interface CartFeignService {
    /**
     * 查询当前用户购物车选中的商品项
     */
    @RequestMapping("/currentUserCartItems")
    public List<OrderItemVO> getCurrentCartItems();
}
